package top.forforever.srb.sms.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import top.forforever.srb.sms.client.fallback.ServiceCoreUserInfoClientFallback;

/**
 * @create: 2023/5/7
 * @Description:
 * @FileName: ServiceCoreUserInfoClient
 * @自定义内容：
 */
@FeignClient(value = "service-core",fallback = ServiceCoreUserInfoClientFallback.class)
public interface ServiceCoreUserInfoClient {

    @GetMapping("/api/core/userInfo/isMobileExist/{mobile}")
    Boolean isMobileExist(@PathVariable String mobile);

}
